<template>
	<view>
		<view class="container">
			<wn-calendar
				ref="calendar"
				:data="[{ date: '2024/4/25', text: '显示文本', type: 2 }]"
				:isBorder="true"
				:isLess="false"
				:colors="['#f3a73f', '#2979ff', '#8f939c', '#18bc37', '#e43d33']"
				:isEn="false"
				format="/"
				@change=""
				@choose="onChoose"
			></wn-calendar>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},

	methods: {
		onChoose(e){
			console.log(e)
		}
	}
};
</script>

<style lang="scss"></style>
